package cn.pupil.design.mediator;

import java.util.List;

/**
 * @Description: 数据库操作的查询接⼝
 * @Author: pupil
 * @Date: 2024/07/28 下午 7:07
 */
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement,Object parameter);

    <T>List<T> selectList(String statement);

    <T>List<T> selectList(String statement, Object parameter);

    void close();
}
